package com.bw.myincome.mapper;

import com.bw.myincome.domain.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface MyInconmeMapper {
    List<Order> getMyIncomeList(@Param("id") Integer id);

    Order getTotal(@Param("id") Integer id);

    List<Order> getOrderList(@Param("id") Integer id, @Param("month") String month, @Param("year") String year);

    Order getOrderDetails(@Param("id") Integer id, @Param("orderId") Integer orderId);
}
